<%@ page language="java" import="java.util.*,cn.ac.cintcm.dataconverge.util.Constants,com.hs.core.utils.*,cn.ac.cintcm.dataconverge.util.*" pageEncoding="UTF-8"%>
<%@ page import ="cn.ac.cintcm.dataconverge.researchsubject.domain.*,cn.ac.cintcm.dataconverge.researcher.domain.*" %> 
<%
String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Subject obj = (Subject)request.getAttribute("subjectObj");
String url = (String)request.getAttribute("url");
 
List orgList = (List)request.getAttribute("orgList");
List userList = (List)request.getAttribute("userList");
String userId = (String)request.getAttribute("userId");
String userName = (String)request.getAttribute("userName");
String navStr = (String)request.getAttribute("navStr");
String imagePath = path + "/index/";
Tag oneTag = null;
Tag twoTag = null;
Tag threeTag = null;
Tag fourTag = null;
StringBuffer idStr = new StringBuffer();

boolean isEdit = false;
if(null == obj || Constants.subject_state_apply.equals(obj.getState())||Constants.subject_state_retuen.equals(obj.getState()))
	isEdit = true;

response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
 
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title><%=Constants.APP_TITLE %></title>  
    <META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0>
	<script language="javascript" type="text/javascript" src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
	<script language="javascript" src="<%=path %>/index/Scripts/script.js"></script>
	<script language="javascript" src="<%=path %>/js/common.js"></script>
	<link href="<%=path %>/index/Themes/com/style.css" type="text/css" rel="stylesheet"></link>
	<script src='<%=basePath%>dwr/engine.js'></script>
     <script src='<%=basePath%>dwr/util.js'></script> 
     <script src='<%=basePath%>dwr/interface/subject.js'></script>
    <script type="text/javascript" language="javascript">
    var subjectId = '<%=obj == null?"":obj.getId()%>';
    function changeTab(tag){
    	var frame = document.getElementById("tabContent");
    	 if("navTd12" == tag){
    	 	frame.src = "<%=path%>/subjectToAdd.htm?action=orgInfo&subjectId="+subjectId;
    	 } else 
    	 if("navTd13" == tag){
    	 	frame.src = "<%=path%>/subjectToAdd.htm?action=userInfo&subjectId="+subjectId; 
    	 }  else
    	 if("navTd16" == tag){
    	 	frame.src = "<%=path%>/subjectToAdd.htm?action=docInfo&subjectId="+subjectId; 
    	 } 
    	 if("navTd17" == tag){
    	 	frame.src = "<%=path%>/fund.htm?action=listFund&subjectId="+subjectId; 
    	 } 
    	  if("navTd11" == tag){
    	 	frame.src = "<%=path%>/fund.htm?action=listPlan&subjectId="+subjectId; 
    	 } 
    	  if("navTd18" == tag){
    	 	frame.src = "<%=path%>/fund.htm?action=listTask&subjectId="+subjectId; 
    	 } 
    	
    } 
	var navTdCacheID2 = "navTd10";
	var navDivCacheID2 = "navDiv10"; 
	function changeNav2(divID,tbID){
	//debugger;
		changeTab(tbID);
		document.getElementById(navDivCacheID2).style.display = 'none';
		document.getElementById(divID).style.display = '';
		document.all(navTdCacheID2+"1").className="tab2_unselect1";
		document.all(navTdCacheID2+"2").className="tab2_unselect2";
		document.all(navTdCacheID2+"3").className="tab2_unselect3";
		document.all(tbID+"1").className="tab2_select1";
		document.all(tbID+"2").className="tab2_select2";
		document.all(tbID+"3").className="tab2_select3";
		
		navTdCacheID2 	= tbID;
		navDivCacheID2 	= divID;
	}
	function saveData(){
	    if(checkForm()){ 
	    	 form2.submit();
	    }
	}
	function checkForm(){
				var fo=document.form2;
				var exp = new RegExp("^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}$"); 
				/**if(isNull(fo.projectname.value)){
					alert("请填写项目名称");
					fo.projectname.focus(); 
					return false;
				}
				
				if(isNull(fo.projectorg.value)){
					alert("请选择项目组织单位");
					fo.projectorg.focus();
					return false;
				}*/
				if(isNull(fo.expertname.value)){
					alert("请填写专项名称");
					fo.expertname.focus();
					return false;
				}
				 
				/**if(isNull(fo.specialname.value)){
					alert("请选择专题名称");
					fo.specialname.focus();
					return false;
				}
				*/
				if(isNull(fo.subjectname.value)){
					alert("请填写项目名称");
					fo.subjectname.focus();
					return false;
				}
				if(isNull(fo.specialcode.value)){
					alert("请填写项目编号");
					fo.specialcode.focus();
					return false;
				}
				 
				
				 
				if(isNull(fo.applydate.value)){
					alert("请选择填报日期");
					fo.applydate.focus();
					return false;
				} 
				if(isNull(fo.startdate.value)){
					alert("请选择起始日期");
					fo.startdate.focus();
					return false;
				} 
				if(isNull(fo.enddate.value)){
					alert("请选择结束日期");
					fo.enddate.focus();
					return false;
				}  
				if(isNull(fo.abstractContent.value)){
					alert("请填写项目研究内容");
					fo.abstractContent.focus();
					return false;
				} 
				return true;
			} 
       function submitAudit(subjectId){
          if(confirm('课题提交审批后将不能修改，确认提交?')){
	          if('' != subjectId){
	          	subject.submitAudit(subjectId,submitCallback) 
	          }  
	      }
       }
       function submitCallback(message){
         if("0" == message){
            alert("课题提交审批失败");
         }
          if("1" == message){ 
            alert("课题提交审批成功");
            window.location.href = "<%=path%>/subject.htm?action=listMySubjects";
         }
       }
       
       function jumplist(){
       
       		document.location.href="<%=path%>/subject.htm?action=listMySubjects";
       }
       
       
</script> 
</head>
<body class="rtm_body" scroll=yes>
<form name="form2" action="<%=path %>/subjectToAdd.htm?action=onSubmit" method="post">
    <div class="r_rtm_tb_mg1">
        <div class="r_rtm_tb1">
            <img src="<%=imagePath%>/Themes/com/idt_tb_pass.gif" /><span>&nbsp;项目信息录入</span>
        </div>
    </div>
    <div>
     <table id="Table9" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tr>
                <td class="fw_ptmain_bd_04">
                </td>
                <td class="fw_ptmain_bd_05" align="left" style="height: 155px;">
                    <!--Tab页（标题）-->
                    
                     <!--Tab页（标题）-->
                    <table cellspacing="0" cellpadding="0" id="Table2" width="100%">
                        <tr>
                            <td onclick="changeNav2('navDiv10','navTd10')" class="tab2_select1" id="navTd101">
                            </td>
                            <td onclick="changeNav2('navDiv10','navTd10')" class="tab2_select2" id="navTd102">
                                <strong><b><font size=3>基本信息</font></b></strong></td>
                            <td onclick="changeNav2('navDiv10','navTd10')" class="tab2_select3" id="navTd103">
                            </td>
                            <!-- <td onclick="changeNav2('navDiv11','navTd11')" class="tab2_unselect1" id="navTd111">
                            </td>
                            <td onclick="changeNav2('navDiv11','navTd11')" class="tab2_unselect2" id="navTd112">
                                正文内容</td>
                            <td onclick="changeNav2('navDiv11','navTd11')" class="tab2_unselect3" id="navTd113">
                            </td>-->
                             <%if(null != obj){ %>
                            <td onclick="changeNav2('navDiv12','navTd12')" class="tab2_unselect1" id="navTd121">
                            </td>
                           
                            <td onclick="changeNav2('navDiv12','navTd12')" class="tab2_unselect2" id="navTd122">
                                <strong><b><font size=3>单位信息</font></b></strong></td>
                            <td onclick="changeNav2('navDiv12','navTd12')" class="tab2_unselect3" id="navTd123">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd13')" class="tab2_unselect1" id="navTd131">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd13')" class="tab2_unselect2" id="navTd132">
                                 <strong><b><font size=3>人员信息</font></b></strong></td>
                            <td onclick="changeNav2('navDiv12','navTd13')" class="tab2_unselect3" id="navTd133">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd16')" class="tab2_unselect1" id="navTd161">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd16')" class="tab2_unselect2" id="navTd162">
                                <strong><b><font size=3>相关文档</font></b></strong></td>
                            <td onclick="changeNav2('navDiv12','navTd16')" class="tab2_unselect3" id="navTd163">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd17')" class="tab2_unselect1" id="navTd171">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd17')" class="tab2_unselect2" id="navTd172">
                                <strong><b><font size=3>项目经费</font></b></strong></td>
                            <td onclick="changeNav2('navDiv12','navTd17')" class="tab2_unselect3" id="navTd173">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd11')" class="tab2_unselect1" id="navTd111">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd11')" class="tab2_unselect2" id="navTd112">
                                <strong><b><font size=3>年度计划</font></b></strong></td>
                            <td onclick="changeNav2('navDiv12','navTd11')" class="tab2_unselect3" id="navTd113">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd18')" class="tab2_unselect1" id="navTd181">
                            </td>
                            <td onclick="changeNav2('navDiv12','navTd18')" class="tab2_unselect2" id="navTd182">
                                <strong><b><font size=3>任务分管</font></b></strong></td>
                            <td onclick="changeNav2('navDiv12','navTd18')" class="tab2_unselect3" id="navTd183">
                            </td>
                           
                            <%} %>
                            <td class="tab2_right" width="*" align="right">
                                
                                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                            </td>
                        </tr>
                    </table> 
                     
                      <table  cellspacing="0" cellpadding="0" width="100%" style="border-right: #9b9b9b 1px solid;
                        border-left: #9b9b9b 1px solid; border-bottom: #9b9b9b 1px solid" id="Table22"
                        border="0">
                        <tr>
                            <td height="0">
                            </td>
                        </tr>
                        <tr align="center">
                            <td valign="top">
                                <!--三部分内容-->
                                <div class="tab2_fim_div" id="navDiv10">
									 <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" id="Table11">
                        			<tr>
                        			 <td class="idt_main_m" valign="top">
                        			 	<div id="tdForm"> 
		                                    <table border="0" cellpadding="0" cellspacing="1" width="100%"   class="dg_borderstyle">
		                                       <tr>
		                                            <td class="fim_l" width="10%">专项名称(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"  colspan="3" >
		                                            <input type="text" name="expertname" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getExpertname()) %>" class="com_textbox" style="width:100%"/></td> 
		                                         <input type="hidden" name="id" value="<%=obj==null?"":obj.getId() %>" class="com_textbox" style="width:99%"/>
		                                              <input type="hidden" name="url" value="<%=url%>" class="com_textbox" style="width:99%"/>
		                                              <input type="hidden" value="<%=obj==null?"":obj.getState() %>" name="state" />
		                                             
		                                        </tr>  
		                                        <tr>
		                                            <td class="fim_l" width="10%">所属项目名称</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="ssktmc" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getSsktmc()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">所属项目编号</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="ssxmbh" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getSsxmbh()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                         <tr>
		                                            <td class="fim_l" width="10%">项目名称(<font color="red">＊</font>)</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="subjectname" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getSubjectname()) %>" class="com_textbox" style="width:100%"/></td>
		                                            <td class="fim_l" width="10%">项目编号(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="specialcode" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getSpecialcode()) %>" class="com_textbox" style="width:100%"/></td>  
		                                        </tr> 
		                                        
		                                         <tr>
		                                            <td class="fim_l" width="10%">主题</td>
		                                            <td class="fim_r"  colspan="3" >
		                                            <input type="text" name="theme" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getTheme()) %>" class="com_textbox" style="width:100%"/>
		                                            
		                                            </td> 
		                                             
		                                        </tr> 
		                                        <tr>
		                                            <td class="fim_l" width="10%">项目密级(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"   >
		                                             <%out.print(DictHelper.getInst().selectStr(request.getSession().getServletContext(),"subjectmj","width:100%",obj==null?"":obj.getSubjectmj()+"","7"));%>
		                                            
												  	  </td>
		                                            <td class="fim_l" width="10%">申报类型(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"   > 
		                                            <%out.print(DictHelper.getInst().selectStr(request.getSession().getServletContext(),"sblx","width:100%",obj==null?"":obj.getSblx()+"","14"));%>
		                           
		                                        </tr>  
		                                        
		                                        <tr>
		                                            <td class="fim_l" width="10%">活动类型(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"   >
		                                             <%out.print(DictHelper.getInst().selectStr(request.getSession().getServletContext(),"activetype","width:100%",obj==null?"":obj.getActivetype()+"","5"));%>
		                                            
												  	  </td>
		                                            <td class="fim_l" width="10%">创新类型(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"   > 
		                                            <%out.print(DictHelper.getInst().selectStr(request.getSession().getServletContext(),"subjecttype","width:100%",obj==null?"":obj.getSubjecttype()+"","2"));%>
		                           
		                                        </tr>  
		                                         <tr>
		                                            <td class="fim_l" width="10%">预期成果</td>
		                                            <td class="fim_r"  colspan="3" >
		                                           	<%out.print(DictHelper.getInst().selectStrCheck(request.getSession().getServletContext(),"planchengglx","width:100%",obj==null?"":obj.getPlanchengglx()+"","8"));%>
 
		                                            </td> 
		                                             
		                                        </tr> 
		                                        <tr>
		                                            <td class="fim_l" width="10%">技术标准</td>
		                                            <td class="fim_r"  colspan="3" >
		                                           
		                                            <%out.print(DictHelper.getInst().selectStrCheck(request.getSession().getServletContext(),"jishubz","width:100%",obj==null?"":obj.getJishubz()+"","6"));%>
		                                            
		                                            </td> 
		                                             
		                                        </tr> 
		                                        
		                                         <tr>
		                                            <td class="fim_l" width="10%">起始日期(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" class="Wdate" id="startdate" value="<%=obj==null?Tools.getDateStr():Tools.getDateStringByDate(obj.getStartdate()) %>" style="width:100%" name="startdate"  onFocus="WdatePicker({el:'startdate',dateFmt:'yyyy-MM-dd'})" />
		                                             </td> 
		                                             <td class="fim_l" width="10%">结束日期(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" class="Wdate" id="enddate" value="<%=obj==null?Tools.getDateStr():Tools.getDateStringByDate(obj.getEnddate()) %>"" style="width:100%" name="enddate"   onFocus="WdatePicker({el:'enddate',dateFmt:'yyyy-MM-dd'})" />
		                                             </td> 
		                                        </tr> 
		                                        <tr>
		                                        
		                                             <td class="fim_l" width="10%">责任人(<font color="red">＊</font>)</td>
		                                             <td class="fim_r"  width="40%">
		                                              <select id="subjectMan" name="subjectMan" style="width:100%" > 
											        	 <%if(null == obj && null != userList && userList.size()>0){
											        		 
											        	    for(int i = 0;i<userList.size();i++){
											        	    	Map data = (Map)userList.get(i);
											        	    	String ids = data.get("IDS") + "";
											        	    	String name = data.get("NAME") + "";
											        	    	out.print("<option value="+ids);
											        	    	
												        	    	if(userId.equals(ids)){
												        	    		out.print(" selected");
												        	    	} 
											        	    	out.print(">");
											        	    	out.print(name+"</option>");
											        	    }
											        	 }else{%>
											        	    
											        	 	<option value=<%=userId %> selected><%=userName %></option> 
											        	 <%}%>
												  	  </select>
		                                           </td> 
		                                           
		                                            <td class="fim_l" width="10%">填报日期(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"  > 
		                                           <input type="text" class="Wdate" id="applydate" value="<%=obj==null?Tools.getDateStr():Tools.getDateStringByDate(obj.getApplydate()) %>" style="width:100%" name="applydate"  onFocus="WdatePicker({el:'applydate',dateFmt:'yyyy-MM-dd'})"  />
		                                            </td> 
		                                        </tr> 
		                                         <tr>
		                                            <td class="fim_l" width="10%">责任单位(<font color="red">＊</font>)</td>
		                                            <td class="fim_r"  colspan="3" >
		                                            
		                                             <select id="projectorg" name="projectorg" style="width:100%" > 
											        	 <%if(null != orgList){
											        	    for(int i = 0;i<orgList.size();i++){
											        	    	Map data = (Map)orgList.get(i);
											        	    	String ids = data.get("id") + "";
											        	    	String name = data.get("name") + "";
											        	    	out.print("<option value="+ids);
											        	        if(null != obj && ids.equals(obj.getProjectorg()+"")){
											        	        	out.print(" selected");
											        	        }
											        	    	out.print(">");
											        	    	out.print(name+"</option>");
											        	    }
											        	 } %>
												  	  </select>
		                                            
		                                            </td>
		                                            
		                                        </tr>  
		                                         <tr>
		                                            <td class="fim_l" width="10%">参加单位数</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="cjdws" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getCjdws()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">项目参加人数</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="allnum" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getAllnum()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                         <tr>
		                                            <td class="fim_l" width="10%">高级职称人数</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="gaojrs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getGaojrs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">中级职称人数</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="zhongjrs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getZhongjrs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                         <tr>
		                                            <td class="fim_l" width="10%">初级职称人数</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="chujrs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getChujrs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">其他职称人数</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="qitzcrs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getQitzcrs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                        
		                                        <tr>
		                                            <td class="fim_l" width="10%">博士人数</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="boshirs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getBoshirs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">硕士人数</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="shuosrs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getShuosrs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                        <tr>
		                                            <td class="fim_l" width="10%">学士人数</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="xuesrs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getXuesrs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">其他学位人数</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="qitxwrs" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getQitxwrs()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                        <tr>
		                                            <td class="fim_l" width="10%">人员总数</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="allperson" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getAllperson()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">国外发明数</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="guowaifm" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getGuowaifm()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                        <tr>
		                                            <td class="fim_l" width="10%">国内发明数</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="guoneifm" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getGuoneifm()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                            <td class="fim_l" width="10%">其他发明数量</td>
		                                            <td class="fim_r"  >
		                                            <input type="text" name="qitafm" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getQitafm()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        </tr>  
		                                        
		                                        <tr>
		                                            <td class="fim_l" width="10%">组长电话</td>
		                                            <td class="fim_r" >
		                                            <input type="text" name="zuzdh" value="<%=obj==null?"":StringUtilTool.NULL2Blank(obj.getZuzdh()) %>" class="com_textbox" style="width:100%"/></td> 
		                                        
		                                           <td class="fim_l" width="10%">课题文档权限(<font color="red">＊</font>)</td>
		                                            <td    class="fim_r">
		                                            	 <input type="radio" value="1" name="ispublic" <%if(obj==null || Constants.IS_NON_PUBLIC.equals(obj.getPublicFlag()+"")){out.println(" checked");} %>/> 不公开&nbsp;
		                                            	 <input type="radio" value="2" name="ispublic" <%if(obj!=null && Constants.IS_PUBLIC.equals(obj.getPublicFlag()+"")){out.println(" checked");} %>/> 公开&nbsp;
		                                            	 <!-- <input type="radio" value="3" name="ispublic" <%if(obj!=null && Constants.IS_SUBJECT_PUBLIC.equals(obj.getPublicFlag()+"")){out.println(" checked");} %>/> 课题组公开-->
		                                            </td>   
		                                        </tr>   
		                                        <tr>
		                                            <td class="fim_l" width="10%">项目研究内容(<font color="red">＊</font>)</td>
		                                            <td   colspan=3 width="100%">
		                                            	<textarea rows="10"  class="com_textarea" cols=""   style="background-color: #F9F2E6;"  name="abstractContent" style="width:100%;" ><%=obj==null?"":StringUtilTool.NULL2Blank(obj.getAbstractContent()) %></textarea>
		                                            </td>  
		                                        </tr> 
		                                        <tr>
		                                            <td class="fim_l" width="10%">协议其他条款</td>
		                                            <td   colspan=3 width="100%">
		                                            	<textarea rows="5"  class="com_textarea" cols=""   style="background-color: #F9F2E6;"  name="study" style="width:100%;" ><%=obj==null?"":StringUtilTool.NULL2Blank(obj.getStudy()) %></textarea>
		                                            </td>  
		                                        </tr> 
		                                        <tr>
		                                            <td class="fim_l" width="10%">审核意见</td>
		                                            <td   colspan=3 width="100%">
		                                            	<textarea rows="5"  class="com_textarea" cols=""   style="background-color: #F9F2E6;"  name="shenheyj" style="width:100%;" ><%=obj==null?"":StringUtilTool.NULL2Blank(obj.getShenheyj()) %></textarea>
		                                            </td>  
		                                        </tr>
		                                        <tr>
		                                        <td colspan=4> 
		                                        <table cellspacing="0" cellpadding="0" width="100%" class="idt_bottom_mg" border="0">
				                                    <tr>
				                                        <td align="center">
				                                             <input type="button" value=" 保 存 "   class="com_btn2"   onclick="saveData()" />
				                                             &nbsp;&nbsp;<input type="button" value=" 返回列表 "   class="com_btn2"   onclick="jumplist()" />
				                                  <%if(null != obj){ %>
				                                  <%if(Constants.subject_state_retuen.equals(obj.getState())||Constants.subject_state_save.equals(obj.getState())){ %>
				                                     <!-- input type="button" value="提交审批"   class="com_btn2"   onclick="submitAudit('<%=obj.getId() %>');" /-->
				                                 <%}} %>
				                                        </td>
				                                    </tr>
				                                </table>
                                                </td>
                                                </tr>
		                                    </table>   
                               			</div>
                        			 	</td> 
                                    </tr>
                          		  </table> 
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">
                               <!--  <div class="tab2_fim_div" id="navDiv11" style="display: none">
									 <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" id="Table11">
                        			<tr>
                        			 <td class="idt_main_m" valign="top">
                        			 	<div id="tdForm"> 
		                                    <table border="0" cellpadding="0" cellspacing="1" width="100%"  class="dg_borderstyle">
		                                        
		                                        <tr>
		                                            <td class="fim_l" width="10%" valign="top">正文内容</td>
		                                            <td   colspan=3 >
		                                            	<textarea rows="80" class="com_textarea" cols=""   style="background-color: #F9F2A5;" name="content" style="width:100%" ><%=obj==null?"":StringUtilTool.NULL2Blank(obj.getContent()) %></textarea>
		                                            </td>  
		                                        </tr>  
		                                    </table>  
                               			</div>
                        			 	</td> 
                                    </tr>
                          		  </table> 
                                </div> -->
                                
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" height="100%">
                                <div class="tab2_fim_div" id="navDiv12" style="display: none;">
									<iframe width="100%" height="100%"   id="tabContent" name="tabContent" onload="this.height=parent.document.body.scrollHeight-30" scrolling="auto" frameborder="no"  marginwidth="0" marginheight="0"  allowtransparency="yes" src=""></iframe>
                                </div>
                            </td>
                        </tr>
                        
                    </table>
             	 </td>
              </tr>
           </table>
         </div> 
         </form>
         
</body>
</html> 
<script>

</script>